using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Pin : MonoBehaviour
{
    public int shutSpeed;

    public void Move(Vector3 targetPos)
    {
        transform.position = Vector3.MoveTowards(transform.position,
            targetPos, shutSpeed * Time.deltaTime);
    }


}
